/*
 * @Auther: Ye Chen
 * @Date: 2020-07-07 09:21:03
 * @LastEditors: Ye Chen
 * @LastEditTime: 2020-07-29 17:26:09
 * @Description:
 */
/**
 * Create by yechen on 2020/06/03
 */

/**
 * @param {string} path
 * @return {Boolean}
 */
export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path)
}
